← Back to issue list

Excluding a file in stage but including it in prime raises an exception

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1734240
Type
issue
State
open
Author
~elopio
Labels
Created
2017-11-24 03:14:25.153112+00:00
Updated
2017-11-24 03:15:11.865002+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

When a snapcraft.yaml excludes a file with the stage keyword, but includes it with the prime keyword, a FileNotFoundError exception is raised. To reproduce: mkdir test cd test touch conflict-file Download the attached snapcraft.yaml file and save it in the test directory Run snapcraft [...] FileNotFoundError: [Errno 2] No such file or directory: '/home/ubuntu/tmp/test/stage/conflict-file' -> '/home/ubuntu/tmp/test/prime/conflict-file' [...] Full log: http://paste.ubuntu.com/26031810/

Evaluation history

No evaluation history available.